package nc.ui.am.basemessage;

import nc.ui.am.selfbtn.ISelfBtnID;
import nc.ui.trade.bill.ICardController;
import nc.ui.trade.bill.ISingleController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton; 
import nc.vo.am.basem.BaseMessageVO;
import nc.vo.trade.pub.HYBillVO;

public class BaseMessageCtrl implements ICardController, ISingleController {

	public String getBillType() {
		
		return nc.ui.am.pub.bill.IBillTempleteCode.BASEMESSAGE;
	}

	public String[] getBillVoName() {
		return new String[] { HYBillVO.class.getName(),
				BaseMessageVO.class.getName(), BaseMessageVO.class.getName() };
	}

	public String getBodyCondition() {
		
		return null;
	}

	public String getBodyZYXKey() {
		
		return null;
	}

	public int getBusinessActionType() {
		
		return IBusinessActionType.BD;
	}

	public String getChildPkField() {
		
		return null;
	}

	public String getHeadZYXKey() {
		
		return null;
	}

	public String getPkField() {
		
		return BaseMessageVO.PK_CODEVALUE;
	}

	public Boolean isEditInGoing() throws Exception {
		
		return null;
	}

	public boolean isExistBillStatus() {
		
		return false;
	}

	public boolean isLoadCardFormula() {
		
		return false;
	}

	public boolean isSingleDetail() {
		
		return true;
	}

	public String[] getCardBodyHideCol() {
		
		return null;
	}

	public int[] getCardButtonAry() {
		
		return new int[] { IBillButton.Add,
			 	IBillButton.Edit,
			 	IBillButton.Delete,
    			IBillButton.Save,
    			IBillButton.Cancel,
    			IBillButton.Refresh,
    			ISelfBtnID.SYS_LOG_BTN};
	}

	public boolean isShowCardRowNo() {
		
		return false;
	}

	public boolean isShowCardTotal() {
		
		return false;
	}

}
